package com.dp.pojo;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.apache.struts2.json.annotations.JSON;

import com.dp.vo.NewsBlacklist;


public class NewsBlacklistVo implements Serializable{
	
	private static final long serialVersionUID = 1L;
	private Integer id;
    private String clientid;                //终端id
    private String name;                    //昵称
    private String email;                   //邮件地址
    private String mobile;                  //手机号码
	private Date lastupdatetime;   
    private String userid;                  //创建人
    private String issystem;                //系统消息黑名单
    private String isup;                    //上行黑名单
    private String isdown;                  //共享下行黑名单
    
	private String sn;
	
	public NewsBlacklistVo(){
    	
    }
    public NewsBlacklistVo(Integer id){
    	this.id=id;
    }
    public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getClientid() {
		return clientid;
	}
	public void setClientid(String clientid) {
		this.clientid = clientid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	@JSON(format="yyyy-MM-dd HH:mm:ss")
	public Date getLastupdatetime() {
		return lastupdatetime;
	}
	public void setLastupdatetime(Date lastupdatetime) {
		this.lastupdatetime = lastupdatetime;
	}
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	public String getIssystem() {
		return issystem;
	}
	public void setIssystem(String issystem) {
		this.issystem = issystem;
	}
	public String getIsup() {
		return isup;
	}
	public void setIsup(String isup) {
		this.isup = isup;
	}
	public String getIsdown() {
		return isdown;
	}
	public void setIsdown(String isdown) {
		this.isdown = isdown;
	}
	public String getSn() {
		return sn;
	}
	public void setSn(String sn) {
		this.sn = sn;
	}
	@Override
    public int hashCode() {
        int hash = 0;
        hash += (id != null ? id.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        if (!(object instanceof NewsBlacklistVo)) {
            return false;
        }
        NewsBlacklistVo other = (NewsBlacklistVo) object;
        if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "com.dp.vo.NewsBlacklistVo[id=" + id + "]";
    }
    
}

